import request from '@/utils/request'

// 查询预开奖统计列表
export function listBallStatic(query) {
  return request({
    url: '/system/ballStatic/list',
    method: 'get',
    params: query
  })
}

// 查询预开奖统计详细
export function getBallStatic(num) {
  return request({
    url: '/system/ballStatic/' + num,
    method: 'get'
  })
}

// 新增预开奖统计
export function addBallStatic(data) {
  return request({
    url: '/system/ballStatic',
    method: 'post',
    data: data
  })
}

// 修改预开奖统计
export function updateBallStatic(data) {
  return request({
    url: '/system/ballStatic',
    method: 'put',
    data: data
  })
}

// 删除预开奖统计
export function delBallStatic(num) {
  return request({
    url: '/system/ballStatic/' + num,
    method: 'delete'
  })
}

// 导出预开奖统计
export function exportBallStatic(query) {
  return request({
    url: '/system/ballStatic/export',
    method: 'get',
    params: query
  })
}